Re: Getting the size of a file on a windows share [solved]

The cause of the error was that the account the web server was running did not
have access rights to the share :-(
Now all works fine.

Frank

On 25 Aug 2009 at 20:33, php-windows [at] lists.php.net wrote:

> Hi,
>
> I need to read the file size of a file which is on a windows server, the file
> name looks like
> \\server\share\path\file.ext
>
> I already tried filesize() and fopen() followed by stream_get_meta_data(), but
> both methods do not work.
>
> Any ideas how this simple task can be solved?
>
> Thanks
>
> Frank
>



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Frank Heyne [ Mi, 26 August 2009 17:14 ] [ ID #2013719 ]
PHP » gmane.comp.php.windows » Re: Getting the size of a file on a windows share [solved]

Vorheriges Thema: php with iis
Nächstes Thema: PHP form with upload file